function nihao(value: string) {
    console.log('nihao decorator', value);

    return function (target: any) {
        console.log('this is the decorator', target);
    }
}

@nihao('nihao')
class A {
    constructor() {
        console.log('======>', 'A init');
    }
}


const a = new A()